
/* A Bison parser, made by GNU Bison 2.4.1.  */

/* Skeleton interface for Bison's Yacc-like parsers in C
   
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
   Free Software Foundation, Inc.
   
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.
   
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */


/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     PROGRAM = 258,
     DOT = 259,
     SEMICOLON = 260,
     COMMA = 261,
     IDENTIFIER = 262,
     CONST = 263,
     CONST_BOOL = 264,
     CONST_INT = 265,
     CHARACTER_STRING = 266,
     EQUAL = 267,
     PLUS = 268,
     MINUS = 269,
     TYPE = 270,
     ARRAY = 271,
     LBRAC = 272,
     RBRAC = 273,
     OF = 274,
     DOTDOT = 275,
     RECORD = 276,
     COLON = 277,
     PBEGIN = 278,
     END = 279,
     VAR = 280,
     PRIMITIVE_TYPE = 281,
     LT = 282,
     GT = 283,
     LE = 284,
     NOTEQUAL = 285,
     GE = 286,
     OR = 287,
     AND = 288,
     DIV = 289,
     MOD = 290,
     STAR = 291,
     LPAREN = 292,
     RPAREN = 293,
     NOT = 294,
     ASSIGNMENT = 295,
     IF = 296,
     THEN = 297,
     WHILE = 298,
     DO = 299,
     PROCEDURE = 300,
     FUNCTION = 301,
     LOWER_THAN_ELSE = 302,
     ELSE = 303
   };
#endif
/* Tokens.  */
#define PROGRAM 258
#define DOT 259
#define SEMICOLON 260
#define COMMA 261
#define IDENTIFIER 262
#define CONST 263
#define CONST_BOOL 264
#define CONST_INT 265
#define CHARACTER_STRING 266
#define EQUAL 267
#define PLUS 268
#define MINUS 269
#define TYPE 270
#define ARRAY 271
#define LBRAC 272
#define RBRAC 273
#define OF 274
#define DOTDOT 275
#define RECORD 276
#define COLON 277
#define PBEGIN 278
#define END 279
#define VAR 280
#define PRIMITIVE_TYPE 281
#define LT 282
#define GT 283
#define LE 284
#define NOTEQUAL 285
#define GE 286
#define OR 287
#define AND 288
#define DIV 289
#define MOD 290
#define STAR 291
#define LPAREN 292
#define RPAREN 293
#define NOT 294
#define ASSIGNMENT 295
#define IF 296
#define THEN 297
#define WHILE 298
#define DO 299
#define PROCEDURE 300
#define FUNCTION 301
#define LOWER_THAN_ELSE 302
#define ELSE 303




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{

/* Line 1676 of yacc.c  */
#line 23 "pascal.y"

	int a_number;
	int a_boolean;
	char* a_variable;
	tree* a_tree;
	enum ast_ops an_op;



/* Line 1676 of yacc.c  */
#line 158 "y.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif

extern YYSTYPE yylval;


